//
//  SSNetworking.m
//  SSNetworkDemo
//
//  Created by su on 16/6/27.
//  Copyright © 2016年 SS. All rights reserved.
//

#import "SSNetworking.h"

@implementation SSNetworking

+ (SSNetworking *) shared
{
    static SSNetworking *networking;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        networking = [[SSNetworking alloc] initWithBaseURL:nil];
    });
    return nil;
    

    
}

- (id) initWithBaseURL:(NSURL *)baseUrl
{
    self = [super initWithBaseURL:baseUrl];
    if (self) {
        
        
        [self GET:@"" parameters:nil progress:nil success:nil failure:nil];
        
    }
    return self;
}


@end
